﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="goods_add07.aspx.cs" Inherits="WebSite.admin.product.goods_add07" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>良臣直销网 </title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "商品管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加新商品-关联文章&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='product/goods.aspx' target='content'><font color=#ff0000>商品列表</font></a>"
    </script>
    <script language='javascript'>
	var path=(window.top.location).toString();
	if(path.indexOf('login.aspx')==-1){
	if (path.indexOf('index.aspx')==-1){
	 window.top.location='index.aspx';
	}
	}
	function clicka()
	{
	<% if (Request.QueryString["pid"] != null){}else{%>
	alert("- 商品名称不能为空。\n- 商品分类不能不选。");
	return false;
	<%} %>
	}
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <%if (Request.QueryString["pid"] != null){ %>
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="goods_add.aspx?pid=<%=Request.QueryString["pid"]%>">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add02.aspx?pid=<%=Request.QueryString["pid"]%>">详细描述</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add08.aspx?pid=<%=Request.QueryString["pid"]%>">商品参数</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add03.aspx?pid=<%=Request.QueryString["pid"]%>">其他信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add04.aspx?pid=<%=Request.QueryString["pid"]%>">商品相册</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add05.aspx?pid=<%=Request.QueryString["pid"]%>">关联商品</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add06.aspx?pid=<%=Request.QueryString["pid"]%>">配件</a></td-->
      <td bgcolor="#C9D2DA"><a href="goods_add07.aspx?pid=<%=Request.QueryString["pid"]%>" class="menu02">关联文章</a></td>
    </tr>
  </table>
  <%}else{ %>
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="goods_add.aspx">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add02.aspx">详细描述</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add08.aspx">商品参数</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add03.aspx">其他信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add04.aspx">商品相册</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add05.aspx">关联商品</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add06.aspx">配件</a></td-->
      <td bgcolor="#C9D2DA"><a href="goods_add07.aspx" class="menu02">关联文章</a></td>
    </tr>
  </table>
  <%} %>
  <br />
  <table Width="98%" border="0" cellpadding="5" cellspacing="0">
    <!-- 商品搜索 -->
    <tr>
      <td width="84%" colspan="3" align="left"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" /> 文章标题
        <input name="keyname" id="keyname" runat="server" />
        <asp:ImageButton ID="ImageButton2" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
    </tr>
    <!-- 商品列表 -->
    <tr class="text12_red">
      <td>可选文章</td>
      <td>操作</td>
      <td>该商品关联的文章</td>
    </tr>
    <tr>
      <td><asp:ListBox ID="lbLeft" runat="server" SelectionMode="Multiple" Width="300px" Height="260px"> </asp:ListBox>
      </td>
      <td align="center"><p>
        <asp:Button ID="btnToAllRight" runat="server" Text=" &gt;&gt; "  OnClick="btnToAllRight_Click" />
         </p>
          <p>
            <asp:Button ID="btnToRight" runat="server" Text="  &gt;  "  OnClick="btnToRight_Click" />
          </p>
          <p>
            <asp:Button ID="btnToLeft" runat="server" Text="  &lt;  " OnClick="btnToLeft_Click" />
          </p>
          <p>
            <asp:Button ID="btnToAllLeft" runat="server" Text=" &lt;&lt; " OnClick="btnToAllLeft_Click" />
          </p></td>
      <td><asp:ListBox ID="lbRight" runat="server" SelectionMode="Multiple" Width="280px" Height="260px"></asp:ListBox></td>
    </tr>
    
    <tr>
      <td height="40" colspan="3" align="center">
      <asp:ImageButton ID="ImageButton1" ImageUrl="../images/buttom-02.gif" runat="server" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
